<template>
  <el-dialog
    title="焊机信息"
    :visible.sync="dialogVisible"
    width="1000px">
<!--    <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="80px">-->
    <el-form :model="dataList" ref="dataList" label-width="80px">
      <el-form-item label="焊机编号" prop="lableIdcard">
        <el-input v-model="dataList.no" placeholder="焊机编号"></el-input>
      </el-form-item>
      <el-form-item label="焊机名称" prop="lableEmployid">
        <el-input v-model="dataList.cncname" placeholder="焊机名称"></el-input>
      </el-form-item>
      <el-form-item label="工作状态" prop="lableState">
        <el-input v-model="dataList.status" placeholder="工作状态"></el-input>
      </el-form-item>
      <el-form-item label="焊接电流" prop="lableState">
        <el-input v-model="dataList.welcur" placeholder="焊接电流"></el-input>
      </el-form-item>
      <el-form-item label="焊接电压" prop="lableState">
        <el-input v-model="dataList.welvol" placeholder="焊接电压"></el-input>
      </el-form-item>
      <el-form-item label="内部温度" prop="lableState">
        <el-input v-model="dataList.tem" placeholder="内部温度"></el-input>
      </el-form-item>
      <el-form-item label="内部湿度" prop="lableState">
        <el-input v-model="dataList.tum" placeholder="内部湿度"></el-input>
      </el-form-item>
      <el-form-item label="气流量" prop="lableState">
        <el-input v-model="dataList.rempos" placeholder="气流量"></el-input>
      </el-form-item>
      <el-form-item label="送丝速度" prop="lableState">
        <el-input v-model="dataList.curpgm" placeholder="送丝速度"></el-input>
      </el-form-item>
    </el-form>
    <span slot="footer" class="dialog-footer">
      <el-button @click="dialogVisible = false">取消</el-button>
      <el-button type="primary" @click="dataFormSubmit()">确定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: 'weldingmachineinfo',
  data(){
    return {
      dataForm: {
        key: ''
      },
      datajson: [],
      dataList: {
        no: '1',
        cncname: 'root',
        status: '1',
        welcur: '20',
        welvol: '220',
        tem: '500',
        tum: '40',
        rempos: '1',
        curpgm: '65'
      },
      pageIndex: 1,
      pageSize: 10,
      totalPage: 0,
      dataListLoading: false,
      dataListSelections: [],
      addOrUpdateVisible: false,
      Visiable: false,
      dialogVisible:false,
      aa: false,
      area: {
        area1: ''
      }
    }
  },
  methods:{
    init(gwSN){
      this.dialogVisible = true;
      console.log('子组件title为' + gwSN)
      // console.log('子组件ename为' + ename)
      this.dataListLoading = false
      }
    }
}
</script>

<style scoped>

</style>
